import requests

from common.ihrm_token import get_ihrm_token


def get_ihrm_id():
    resp=requests.get(url="http://ihrm-java.itheima.net/api/sys/user?page=1&size=10",
                       headers={"Authorization":get_ihrm_token()})
    a=resp.json().get("data").get("rows")[2].get("id")

    return a


 
if __name__ == '__main__':
    print(get_ihrm_id())